from pydantic import BaseModel


class Machine(BaseModel):
    EquipmentNumber: str
    EquipmentName: str
    Function: str
    Status: str
    HealthStatus: str
    ParameterName: str
    ParameterInfo: str
    FarmID: int

    class Config:
        orm_mode = True
